﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Meiam.System.Model
{
    ///<summary>
    ///设备定义
    ///</summary>
    [SugarTable("dt_device_info")]
    public class dt_device_info
    {
        public dt_device_info()
        {
        }

        [SugarColumn(IsPrimaryKey = true)]
        public int DEVICE_ID { set; get; }

        [SugarColumn(ColumnName = "DEVICE_CODE")]
        public string DEVICE_CODE { set; get; }

        [SugarColumn(ColumnName = "DEVICE_DESC")]
        public string DEVICE_DESC { set; get; }
        [SugarColumn(ColumnName = "DEVICE_STATUS")]
        public int? DEVICE_STATUS { set; get; }
        [SugarColumn(ColumnName = "DEVICE_TYPE")]
        public string DEVICE_TYPE { set; get; }
        [SugarColumn(ColumnName = "DEVTABLE_NAME")]
        public string DEVTABLE_NAME { set; get; }
        [SugarColumn(ColumnName = "POSIT_CODE")]
        public string POSIT_CODE { set; get; }
        [SugarColumn(ColumnName = "POSITION")]
        public string POSITION { set; get; }
        [SugarColumn(ColumnName = "ADAPTER_ID")]
        public int? ADAPTER_ID { set; get; }
        [SugarColumn(ColumnName = "RESOURCE_ID")]
        public int? RESOURCE_ID { set; get; }
        [SugarColumn(ColumnName = "FREQUENCY")]
        public int? FREQUENCY { set; get; }
        [SugarColumn(ColumnName = "LINE_ID")]
        public int? LINE_ID { set; get; }
        [SugarColumn(ColumnName = "DEVICE_PIC")]
        public string DEVICE_PIC { set; get; }
        [SugarColumn(ColumnName = "LAST_TIME")]
        public DateTime? LAST_TIME { set; get; }
        [SugarColumn(ColumnName = "NOTE")]
        public string NOTE { set; get; }
        [SugarColumn(ColumnName = "test_aaa")]
        public string test_aaa { set; get; }
    }
}
